package com.ruoyi.demo.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 产品对象 demo_product
 * 
 * @author zhangshu
 * @date 2021-01-26
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("demo_product")
public class DemoProduct implements Serializable {

private static final long serialVersionUID=1L;


    /** 产品id */
    @TableId(value = "product_id")
    private Long productId;

    /** 父产品id */
    @Excel(name = "父产品id")
    private Long parentId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 产品状态（0正常 1停用） */
    @Excel(name = "产品状态" , readConverterExp = "0=正常,1=停用")
    private String status;

}
